package com.js.admin.vo;

import com.js.common.vo.TreeNodeVO;
import lombok.Data;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * @author ygl
 * @create 2018-11-05
 * @DESCRIPTION
 **/
@Data
public class AuthorityMenuTree extends TreeNodeVO<AuthorityMenuTree> implements Serializable {

    private String text;
    private List<AuthorityMenuTree> nodes = new ArrayList<AuthorityMenuTree>();
    private String icon;

    public AuthorityMenuTree(String text, List<AuthorityMenuTree> nodes) {
        this.text = text;
        this.nodes = nodes;
    }

    public AuthorityMenuTree() {
    }


}
